package app;
import java.io.*;


public class BookingManager {

	private Collection collection;
	
	public BookingManager() {
		collection = new Collection();
	}
	
	public void run() throws IOException {
		    //read data from text file
			collection.readFile("taxi.txt");
			collection.readFile("destination.txt");
			collection.readFile("journeys2015.txt");
			collection.readFile("journeys2014.txt");
			//output report to text file
			collection.top5Trip();
			collection.getDriverAndDestination();
			collection.destinationStatical();
	} //END OF RUN 
} // END OF BOOKING MANAGER
